package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客服业务对象 app_im_customer_service
 *
 * @author ruoyi
 * @date 2025-11-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppImCustomerServiceBo extends BaseEntity {

    /**
     * 客服ID
     */
    @NotBlank(message = "客服ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 客服昵称
     */
    @NotBlank(message = "客服昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickname;

    /**
     * 客服头像
     */
    @NotBlank(message = "客服头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String avatar;

    /**
     * 状态：1正常 0禁用
     */
    @NotNull(message = "状态：1正常 0禁用不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
